package com.wanjia.bpsapi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wanjia.bpsapi.pojo.dto.DistanceDto;
import com.wanjia.bpsapi.pojo.entity.Distance;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface DistanceMapper extends BaseMapper<Distance> {
    List<DistanceDto> getlist(Long baseId,Long clientId,Integer pageNo, Integer pageSize);
    Long countList(Long baseId,Long clientId);

    int updateDis(Long id, double distance1);

    Integer countDis();
}
